package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaBoxUp", catalog="Id")
public class TccFbaBoxUp extends BaseEntity<TccFbaBoxUp> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="bigint")
	private Long createChangeId;
	@YsField(nameDataBase="BidFbaPlan", nameJava="bidFbaPlan", typeDataBase="varchar")
	private String bidFbaPlan;
	@YsField(nameDataBase="BoxState", nameJava="boxState", typeDataBase="tinyint")
	private Integer boxState;
	@YsField(nameDataBase="DistributionBid", nameJava="distributionBid", typeDataBase="varchar")
	private String distributionBid;
	@YsField(nameDataBase="BoxUpChangeId", nameJava="boxUpChangeId", typeDataBase="bigint")
	private Long boxUpChangeId;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="ExamineTime", nameJava="examineTime", typeDataBase="datetime")
	private Date examineTime;
	@YsField(nameDataBase="ExamineChangeId", nameJava="examineChangeId", typeDataBase="bigint")
	private Long examineChangeId;
	@YsField(nameDataBase="BoxNum", nameJava="boxNum", typeDataBase="int")
	private Integer boxNum;
	@YsField(nameDataBase="PackToken", nameJava="packToken", typeDataBase="varchar")
	private String packToken;
	@YsField(nameDataBase="PackId", nameJava="packId", typeDataBase="varchar")
	private String packId;
	@YsField(nameDataBase="PlacementOptionId", nameJava="placementOptionId", typeDataBase="varchar")
	private String placementOptionId;
	@YsField(nameDataBase="TagAllGoods", nameJava="tagAllGoods", typeDataBase="tinyint")
	private Integer tagAllGoods;
	@YsField(nameDataBase="TagAllTransparent", nameJava="tagAllTransparent", typeDataBase="tinyint")
	private Integer tagAllTransparent;
	@YsField(nameDataBase="TagAllEur", nameJava="tagAllEur", typeDataBase="tinyint")
	private Integer tagAllEur;
	@YsField(nameDataBase="ApiCount", nameJava="apiCount", typeDataBase="int")
	private Integer apiCount;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaBoxUp setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TccFbaBoxUp setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public Long getCreateChangeId() {
		return createChangeId;
	}
	public TccFbaBoxUp setCreateChangeId(Long createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public String getBidFbaPlan() {
		return bidFbaPlan;
	}
	public TccFbaBoxUp setBidFbaPlan(String bidFbaPlan) {
		this.bidFbaPlan = bidFbaPlan;
		return this;
	}
	public Integer getBoxState() {
		return boxState;
	}
	public TccFbaBoxUp setBoxState(Integer boxState) {
		this.boxState = boxState;
		return this;
	}
	public String getDistributionBid() {
		return distributionBid;
	}
	public TccFbaBoxUp setDistributionBid(String distributionBid) {
		this.distributionBid = distributionBid;
		return this;
	}
	public Long getBoxUpChangeId() {
		return boxUpChangeId;
	}
	public TccFbaBoxUp setBoxUpChangeId(Long boxUpChangeId) {
		this.boxUpChangeId = boxUpChangeId;
		return this;
	}
	public Date getExamineTime() {
		return examineTime;
	}
	public TccFbaBoxUp setExamineTime(Date examineTime) {
		this.examineTime = examineTime;
		return this;
	}
	public Long getExamineChangeId() {
		return examineChangeId;
	}
	public TccFbaBoxUp setExamineChangeId(Long examineChangeId) {
		this.examineChangeId = examineChangeId;
		return this;
	}
	public Integer getBoxNum() {
		return boxNum;
	}
	public TccFbaBoxUp setBoxNum(Integer boxNum) {
		this.boxNum = boxNum;
		return this;
	}
	public String getPackToken() {
		return packToken;
	}
	public TccFbaBoxUp setPackToken(String packToken) {
		this.packToken = packToken;
		return this;
	}
	public String getPackId() {
		return packId;
	}
	public TccFbaBoxUp setPackId(String packId) {
		this.packId = packId;
		return this;
	}
	public String getPlacementOptionId() {
		return placementOptionId;
	}
	public TccFbaBoxUp setPlacementOptionId(String placementOptionId) {
		this.placementOptionId = placementOptionId;
		return this;
	}
	public Integer getTagAllGoods() {
		return tagAllGoods;
	}
	public TccFbaBoxUp setTagAllGoods(Integer tagAllGoods) {
		this.tagAllGoods = tagAllGoods;
		return this;
	}
	public Integer getTagAllTransparent() {
		return tagAllTransparent;
	}
	public TccFbaBoxUp setTagAllTransparent(Integer tagAllTransparent) {
		this.tagAllTransparent = tagAllTransparent;
		return this;
	}
	public Integer getTagAllEur() {
		return tagAllEur;
	}
	public TccFbaBoxUp setTagAllEur(Integer tagAllEur) {
		this.tagAllEur = tagAllEur;
		return this;
	}
	public Integer getApiCount() {
		return apiCount;
	}
	public TccFbaBoxUp setApiCount(Integer apiCount) {
		this.apiCount = apiCount;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaBoxUp setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaBoxUp setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaBoxUp setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaBoxUp tccFbaBoxUp(
		String bid,
		Long createChangeId,
		String bidFbaPlan,
		Integer boxState,
		String distributionBid,
		Long boxUpChangeId,
		Date examineTime,
		Long examineChangeId,
		Integer boxNum,
		String packToken,
		String packId,
		String placementOptionId,
		Integer tagAllGoods,
		Integer tagAllTransparent,
		Integer tagAllEur,
		Integer apiCount,
		Integer status
			) {
		TccFbaBoxUp entity = new TccFbaBoxUp();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setBidFbaPlan(bidFbaPlan);
		entity.setBoxState(boxState);
		entity.setDistributionBid(distributionBid);
		entity.setBoxUpChangeId(boxUpChangeId);
		entity.setExamineTime(examineTime);
		entity.setExamineChangeId(examineChangeId);
		entity.setBoxNum(boxNum);
		entity.setPackToken(packToken);
		entity.setPackId(packId);
		entity.setPlacementOptionId(placementOptionId);
		entity.setTagAllGoods(tagAllGoods);
		entity.setTagAllTransparent(tagAllTransparent);
		entity.setTagAllEur(tagAllEur);
		entity.setApiCount(apiCount);
		entity.setStatus(status);
		return entity;
	}
}